home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 39 / Issue 39.iso / mac / MacSoftware / Netscape 6 Full Installer / Installer Modules / browser.xpi / viewer / defaults / pref / macprefs.js < prev    next >
Encoding:
Text File  |  2000-09-29  |  9.3 KB  |  194 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public
  4.  * License Version 1.1 (the "License"); you may not use this file
  5.  * except in compliance with the License. You may obtain a copy of
  6.  * the License at http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the License is distributed on an "AS
  9.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.  * implied. See the License for the specific language governing
  11.  * rights and limitations under the License.
  12.  *
  13.  * The Original Code is mozilla.org code.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation.  Portions created by Netscape are
  17.  * Copyright (C) 1998 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s): 
  21.  */
  22.  
  23. // Mac specific preference defaults
  24. platform.mac = true;
  25.  
  26. pref("browser.mac.show_tool_tips",              true);
  27. pref("browser.mac.use_internet_config",         false);
  28. pref("browser.mac.active_scrolling",            true);
  29. pref("browser.mac.use_utility_pattern",         false);
  30. pref("browser.mac.use_grayscale_form_controls", true);
  31.  
  32. pref("browser.drag_out_of_frame_style", 1);
  33.  
  34. pref("editor.use_html_editor",              false);
  35. pref("editor.use_image_editor",             false);
  36.  
  37. //print header/footer
  38. pref("browser.mac.print_header_topleft",    3);
  39. pref("browser.mac.print_header_topmid",     5);
  40. pref("browser.mac.print_header_topright",   2);
  41. pref("browser.mac.print_header_botleft",    0);
  42. pref("browser.mac.print_header_botmid",     4);
  43. pref("browser.mac.print_header_botright",   0);
  44. pref("browser.mac.print_background",        false); // checkbox
  45.  
  46. pref("mail.notification.sound",             "");
  47. pref("mail.close_message_window.on_delete", true);
  48. pref("mail.close_message_window.on_file", true);
  49.  
  50. pref("taskbar.mac.is_open",                 true);
  51. pref("taskbar.mac.is_vertical",             true);
  52.  
  53. pref("mail.server_type_on_restart",         -1);
  54.  
  55. // default font name (in UTF8)
  56.  
  57. pref("font.name.serif.ar", "ÿ´ŸÑÿ´‚ÄÆ ‚Ĩÿ£ÿ®Ÿäÿ∂");
  58. pref("font.name.sans-serif.ar", "ÿߟÑÿ®ŸäÿߟÜ");
  59. pref("font.name.monospace.ar", "ÿ¨Ÿäÿ≤ÿ©");
  60. pref("font.name.cursive.ar", "XXX.cursive");
  61. pref("font.name.fantasy.ar", "XXX.fantasy");
  62.  
  63. pref("font.name.serif.el", "Times GR");
  64. pref("font.name.sans-serif.el", "Helvetica GR");
  65. pref("font.name.monospace.el", "Courier GR");
  66. pref("font.name.cursive.el", "XXX.cursive");
  67. pref("font.name.fantasy.el", "XXX.fantasy");
  68.  
  69. pref("font.name.serif.he", "◊§◊†◊ô◊†◊ô◊ù‚ÄÆ ‚Ĩ◊ó◊ì◊©");
  70. pref("font.name.sans-serif.he", "◊ê◊®◊ô◊ê◊ú");
  71. pref("font.name.monospace.he", "◊ê◊®◊ô◊ê◊ú");
  72. pref("font.name.cursive.he", "XXX.cursive");
  73. pref("font.name.fantasy.he", "XXX.fantasy");
  74.  
  75. pref("font.name.serif.ja", "Êú¨ÊòéÊúù‚àíÔº≠"); 
  76. pref("font.name.sans-serif.ja", "‰∏∏„Ç¥„Ç∑„ÉÉ„ÇØ‚àíÔº≠"); 
  77. pref("font.name.monospace.ja", "Osaka‚àíÁ≠âÂπÖ"); 
  78. pref("font.name.cursive.ja", "XXX.cursive");
  79. pref("font.name.fantasy.ja", "XXX.fantasy");
  80.  
  81. pref("font.name.serif.ko", "AppleMyungjo"); 
  82. pref("font.name.sans-serif.ko", "AppleGothic"); 
  83. pref("font.name.monospace.ko", "AppleGothic"); 
  84. pref("font.name.cursive.ko", "XXX.cursive");
  85. pref("font.name.fantasy.ko", "XXX.fantasy");
  86.  
  87. pref("font.name.serif.th", "Thonburi");
  88. pref("font.name.sans-serif.th", "Krungthep");
  89. pref("font.name.monospace.th", "Ayuthaya");
  90. pref("font.name.cursive.th", "XXX.cursive");
  91. pref("font.name.fantasy.th", "XXX.fantasy");
  92.  
  93. pref("font.name.serif.tr", "Times");
  94. pref("font.name.sans-serif.tr", "Arial");
  95. pref("font.name.monospace.tr", "CourierR");
  96. pref("font.name.cursive.tr", "XXX.cursive");
  97. pref("font.name.fantasy.tr", "XXX.fantasy");
  98.  
  99. pref("font.name.serif.x-baltic", "Times CE");
  100. pref("font.name.sans-serif.x-baltic", "Helvetica CE");
  101. pref("font.name.monospace.x-baltic", "Courier CE");
  102. pref("font.name.cursive.x-baltic", "XXX.cursive");
  103. pref("font.name.fantasy.x-baltic", "XXX.fantasy");
  104.  
  105. pref("font.name.serif.x-central-euro", "Times CE");
  106. pref("font.name.sans-serif.x-central-euro", "Helvetica CE");
  107. pref("font.name.monospace.x-central-euro", "Courier CE");
  108. pref("font.name.cursive.x-central-euro", "XXX.cursive");
  109. pref("font.name.fantasy.x-central-euro", "XXX.fantasy");
  110.  
  111. pref("font.name.serif.x-cyrillic", "Latinski");
  112. pref("font.name.sans-serif.x-cyrillic", "Pryamoy Prop");
  113. pref("font.name.monospace.x-cyrillic", "APC Courier");
  114. pref("font.name.cursive.x-cyrillic", "XXX.cursive");
  115. pref("font.name.fantasy.x-cyrillic", "XXX.fantasy");
  116.  
  117. pref("font.name.serif.x-unicode", "Times");
  118. pref("font.name.sans-serif.x-unicode", "Helvetica");
  119. pref("font.name.monospace.x-unicode", "Courier");
  120. pref("font.name.cursive.x-unicode", "Apple Chancery");
  121. pref("font.name.fantasy.x-unicode", "Gadget");
  122.  
  123. pref("font.name.serif.x-western", "Times");
  124. pref("font.name.sans-serif.x-western", "Helvetica");
  125. pref("font.name.monospace.x-western", "Courier");
  126. pref("font.name.cursive.x-western", "Apple Chancery");
  127. pref("font.name.fantasy.x-western", "Gadget");
  128.  
  129. pref("font.name.serif.zh-CN", "Song");
  130. pref("font.name.sans-serif.zh-CN", "Hei");
  131. pref("font.name.monospace.zh-CN", "Hei");
  132. pref("font.name.cursive.zh-CN", "XXX.cursive");
  133. pref("font.name.fantasy.zh-CN", "XXX.fantasy");
  134.  
  135. pref("font.name.serif.zh-TW", "Apple LiSung Light"); 
  136. pref("font.name.sans-serif.zh-TW", "Apple LiGothic Medium");  
  137. pref("font.name.monospace.zh-TW", "Apple LiGothic Medium");  
  138. pref("font.name.cursive.zh-TW", "XXX.cursive");
  139. pref("font.name.fantasy.zh-TW", "XXX.fantasy");
  140.  
  141. // Override the Windows settings: no menu key, meta accelerator key.
  142. pref("ui.key.menuAccessKey", 0);
  143. pref("ui.key.accelKey", 224);
  144.  
  145. // This overrides the setting in config.js (which points to the Windows page)
  146. config("menu.help.item_0.label","Help Contents");
  147. config("menu.help.item_1.url","http://home.netscape.com/eng/mozilla/4.0/relnotes/mac-4.02.html");
  148.  
  149. mime_type("mime.image_gif", "image/gif", "gif", 2, "JPEGView", "JVWR", "GIFf");
  150. mime_type("mime.image_jpeg", "image/jpeg", "jpg,jpeg,jpe", 2, "JPEGView", "JVWR", "JPEG");
  151. mime_type("mime.image_pict", "image/pict", "pic,pict", 1, "SimpleText", "ttxt", "PICT");
  152. mime_type("mime.image_tiff", "image/tiff", "tif,tiff", 1, "JPEGView", "JVWR", "TIFF");
  153. mime_type("mime.image_x_xbitmap", "image/x-xbitmap", "xbm", 2, "Unknown", "ttxt", "????");
  154.  
  155. mime_type("mime.audio_basic", "audio/basic", "au,snd", 1, "Sound Machine", "SNDM", "ULAW");
  156. mime_type("mime.audio_aiff", "audio/aiff", "aiff,aif", 1, "Sound Machine", "SNDM", "AIFF");
  157. mime_type("mime.audio_x_wav", "audio/x-wav", "wav", 1, "Sound Machine", "SNDM", "WAVE");
  158.  
  159. mime_type("mime.video_quicktime", "video/quicktime", "qt,mov", 1, "Simple Player", "TVOD", "MooV");
  160. mime_type("mime.video_mpeg", "video/mpeg", "mpg,mpeg,mpe", 1, "Sparkle", "mMPG", "MPEG");
  161. mime_type("mime.video_x_msvideo", "video/x-msvideo", "avi", 1, "AVI to QT Utility", "AVIC", "????");
  162. mime_type("mime.video_x_qtc", "video/x-qtc", "qtc", 1, "Conferencing Helper Application", "mtwh", ".qtc");
  163.  
  164. mime_type("mime.application_mac_binhex40", "application/mac-binhex40", "hqx", 1, "Stuffit Expander", "SITx", "TEXT");
  165. mime_type("mime.application_x_stuffit", "application/x-stuffit", "sit", 1, "Stuffit Expander", "SITx", "SITD");
  166. mime_type("mime.application_x_macbinary", "application/x-macbinary", "bin", 1, "Stuffit Expander", "SITx", "TEXT");
  167. mime_type("mime.application_x_conference", "application/x-conference", "nsc", 1, "Netscape Conference", "Ncqπ", "TEXT");
  168.  
  169. mime_type("mime.application_zip", "application/zip", "z,zip", 1, "ZipIt", "ZIP ", "ZIP ");
  170. mime_type("mime.application_gzip", "application/gzip", "gz", 1, "MacGzip", "Gzip", "Gzip");
  171. mime_type("mime.application_msword", "application/msword", "doc", 0, "MS Word", "MSWD", "W6BN");
  172. mime_type("mime.application_x_excel", "application/x-excel", "xls", 0, "MS Excel", "XCEL", "XLS5");
  173.  
  174. mime_type("mime.application_octet_stream", "application/octet-stream", "exe", 3, "", "", "");
  175. mime_type("mime.application_postscript", "application/postscript", "ai,eps,ps", 3, "SimpleText", "ttxt", "TEXT");
  176. mime_type("mime.application_rtf", "application/rtf", "rtf", 0, "MS Word", "MSWD", "TEXT");
  177. mime_type("mime.application_x_compressed", "application/x-compressed", ".Z", 1, "MacCompress", "LZIV", "ZIVM");
  178. mime_type("mime.application_x_tar", "application/x-tar", "tar", 1, "tar", "TAR ", "TARF");
  179.  
  180. mime_type("mime.Netscape_Source", "Netscape/Source", "", 2, "SimpleText", "ttxt", "TEXT");
  181. pref("mime.Netscape_Source.description", "View Source");
  182. mime_type("mime.Netscape_Telnet", "Netscape/Telnet", "", 1, "NCSA Telnet", "NCSA", "CONF");
  183. mime_type("mime.Netscape_tn3270", "Netscape/tn3270", "", 1, "tn3270", "GFTM", "GFTS");
  184.  
  185. mime_type("mime.image_x_cmu_raster", "image/x-cmu-raster", "ras", 3, "Unknown", "ttxt", "????");
  186. mime_type("mime.image_x_portable_anymap", "image/x-portable-anymap", "pnm", 3, "Unknown", "ttxt", "????");
  187. mime_type("mime.image_x_portable_bitmap", "image/x-portable-bitmap", "pbm", 3, "Unknown", "ttxt", "????");
  188. mime_type("mime.image_x_portable_graymap", "image/x-portable-graymap", "pgm", 3, "Unknown", "ttxt", "????");
  189. mime_type("mime.image_x_rgb", "image/x-rgb", "rgb", 3, "Unknown", "ttxt", "????");
  190. mime_type("mime.image_x_xpixmap", "image/x-xpixmap", "xpm", 2, "Unknown", "ttxt", "????");
  191.  
  192. // Add mime type for SimpleText read only files
  193. mime_type("mime.SimpleText_ReadOnly", "text/plain", "", 2, "SimpleText", "ttxt", "ttro");
  194.